package org.particlethink.request;

import io.swagger.v3.oas.annotations.media.Schema;
import org.particlethink.model.BatchPlan;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

public class MaterialListRequest {
    @Schema(description = "物料计划大类编号数组")
    private List<String> materialKindIds;
    @Schema(description = "总计划id")
    private Integer masterPlanId;
    @Schema(description = "最晚进场时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date deadlineAt;//最晚进场时间

    private Integer pageNum;
    private Integer pageSize;


    public List<String> getMaterialKindIds() {
        return materialKindIds;
    }

    public void setMaterialKindIds(List<String> materialKindIds) {
        this.materialKindIds = materialKindIds;
    }

    public Integer getMasterPlanId() {
        return masterPlanId;
    }

    public void setMasterPlanId(Integer masterPlanId) {
        this.masterPlanId = masterPlanId;
    }

    public Date getDeadlineAt() {
        return deadlineAt;
    }

    public void setDeadlineAt(Date deadlineAt) {
        this.deadlineAt = deadlineAt;
    }

    public Integer getPageNum() {
        return pageNum;
    }

    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }
}
